using System;
using System.Collections.Generic;

namespace YourLastOptionsDialog.ViewModels.Options
{
    /// <summary>
    /// Transports the results of a conversion process for options.
    /// </summary>
    public class OptionConversionEventArgs : EventArgs
    {
        /// <summary>
        /// Gets the grouped options that are the result of a conversion process.
        /// </summary>
        public IList<OptionGroup> OptionGroups
        {
            get;
            private set;
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="OptionConversionEventArgs"/> class.
        /// </summary>
        /// <param name="optionGroups">The grouped options that are the result of a conversion process.</param>
        public OptionConversionEventArgs(IList<OptionGroup> optionGroups)
        {
            OptionGroups = optionGroups;
        }
    }
}